﻿@model projetoFinal.Models.Contrato
@{
    ViewBag.Title = "Adicionar Contrato";
}

@using (@Html.BeginForm(method:FormMethod.Post, actionName:"Contrato", controllerName:"Pagina"))
{
    <legend>Cadastro de Contrato</legend>

    <div class="editor-label">
        @Html.LabelFor(model => model.Descricao)
    </div>
    <div class="editor-field" id="Descricao">
        @Html.TextAreaFor(model => model.Descricao)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.Tipo)
    </div>
    <div class="editor-field" id="Tipo">
        @Html.EditorFor(model => model.Tipo)
    </div>

    @*<div class="editor-label">
        @Html.LabelFor(model => model.Plano)
    </div>
    <div class="editor-field">
        @Html.DropDownListFor(model => model.Plano, "")
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.Cliente)
    </div>
    <div class="editor-field">
        @Html.DropDownListFor(model => model.Cliente, "")
    </div>*@

    <div class="editor-label">
        @Html.LabelFor(model => model.Dtinicial)
    </div>
    <div class="editor-field" id="Dtinicial">
        @Html.EditorFor(model => model.Dtinicial)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.Dtfinal)
    </div>
    <div class="editor-field" id="Dtfinal">
        @Html.EditorFor(model => model.Dtfinal)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.Situacao)
    </div>
    <div class="editor-field" id="Situacao">
        @Html.EditorFor(model => model.Situacao)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.Dtatualizacao)
    </div>
    <div class="editor-field" id="Dtatualizacao">
        @Html.EditorFor(model => model.Dtatualizacao)
    </div>
    
    <input type="submit" value="Cadastrar"/>
}